package csel.model;

public class Armor extends EquippableItem implements java.io.Serializable
{
	private static final long serialVersionUID = 1L;
	private int armorBonus;

	public Armor(int armorBonus, String type)
	{
		this.armorBonus = armorBonus;
		goesOn = "chest";
		setTypeId(type);
	}

	public int applyOffenseBonus(int start)
	{
		return (start);
	}

	public int applyArmorBonus(int start)
	{
		return (armorBonus + start);
	}
	public void setGoesOn(String goesOn)
	{
		this.goesOn = goesOn;
	}
}
